﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TCS.DBUtility;
namespace FormsApp
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            // 执行数据定时获取 并且存入数据
            // 1. 获取用户的 我的粉丝
            updateFans();
        }
        void updateFans()
        {
            string strsql = "select count(1) from CacheSyslog where keyName='CACHE_FANS_LIST' ";
            if (DbHelperSQL.GetSingle(strsql).ToString() == "0")
            { // 没有缓存日志记录 从api 更新
                
            }
        }
    }
}
